using System;

namespace OsHelper.DebugTools.LogService
{
	public abstract class iService
	{
		///<summary>
		/// Writes a formatted string with a specified warning level
		/// to the log file, if one exists.
		///</summary>
		///<param name="level">
		/// A <see cref="LogLevel" /> containing the severity of the
		/// message.
		///</param>
		///<param name="message">
		/// A <see cref="string" /> containing the message to write.
		///</param>
		///<remarks>
		/// <para>The message will only be written to the log if
		///  <see cref="Level" /> contains <paramref name="level" />.
		/// </para>
		///</remarks>
		public abstract void Write (LogLevel level, string message);
	}
}

